/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Clases;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author TVD
 */
public class ModeloCategoriasVisor extends ModeloCategorias {
private List<Categoria> mCategorias;
    public ModeloCategoriasVisor(LinkedList<Categoria> l) {
        super(l);
        mCategorias = l;
    }
    public int getSize() {
        return mCategorias.size()-1;
    }
     public Object getElementAt(int index) {
       return mCategorias.get(index+1);
    }
    
}
